{% extends "base.html" %}

{% block title %}
    编辑 "{{ course.title }}"
{% endblock %}

{% block content %}
    <h1>编辑 "{{ course.title }}"</h1>
    <div class="module">
        <h2>课程模块</h2>
        <form action="" method="post">
            {{ formset.as_p }}
            {{ formset.management_form }}
            {% csrf_token %}
            <input type="submit" class="button" value="保存">
        </form>
    </div>
{% endblock %}